package org.chen.auth.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("h_account")
public class HAccount extends Model<HAccount> {
 
    private static final long serialVersionUID = 1L;
    
    @TableId(value = "id", type = IdType.AUTO)
    @Excel(name = "序号")
    private int id;
 
    @TableField("`name`")
    @Excel(name = "全称",orderNum = "1")
    private String name;
 
    @TableField("call")
    @Excel(name = "称呼",orderNum = "2",fixedIndex = 2)
    private String call;
 
    @TableField("company")
    @Excel(name = "公司",orderNum = "3",fixedIndex = 3)
    private String company;
 
    @TableField("occupation")
    @Excel(name = "职业",orderNum = "4",fixedIndex = 4)
    private String occupation;
 
    @TableField("email")
    @Excel(name = "邮箱",orderNum = "5",fixedIndex = 5)
    private String email;
 
    @TableField("phone")
    @Excel(name = "手机",orderNum = "6",fixedIndex = 6)
    private Integer phone;
 
    @TableField("phones")
    @Excel(name = "移动电话",orderNum = "7",fixedIndex = 7)
    private Integer phones;
 
    @TableField("address")
    @Excel(name = "地址",orderNum = "8",fixedIndex = 8)
    private String address;
 
    @TableField("sn")
    @Excel(name = "描述",orderNum = "9",fixedIndex = 9)
    private String sn;
 


    @Override
    protected Serializable pkVal() {
        return null;
    }
}